﻿namespace SmartBoard.Core.Command
{
    public interface ICommand
    {
        int CommandId { get; }
        void Execute(object parameter);
        bool RaiseCanExecute(object parameter);
        bool CanExecute { get; }
    }

    //public interface ICommand<T>:ICommand
    //{
    //    void Execute(T parameter);
    //    bool RaiseCanExecute(T parameter);
    //}

    //public interface IDataMaker<T>
    //{
    //    void SetPrepareDataCallback(Func<T> callback);
    //    T PrepareData();
    //}
}
